import { createApp } from 'vue'
import '@/style.css'
import App from '@/App.vue'
import ElementPlus from 'element-plus'
import 'nprogress/nprogress.css' //这个样式必须引入
import 'element-plus/theme-chalk/display.css';//1.1.0-beta.10 版本
import 'element-plus/dist/index.css'//1.1.0-beta.10 版本
import  './init.scss';
import {
    setupRouter
} from '@/router/index'

import {
    setupPinia
} from '@/stores/index'
let app = createApp(App)
app.use(ElementPlus)//element-plus挂载
setupPinia(app)
setupRouter(app)
app.mount('#app')
